package com.lheia.dao;

import com.lheia.pojo.User;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author HSH
 * @create 2021-12-13 10:58
 */
public interface UserMapper {
    List<User> getUserList();
    User getUserById(int id);
    User getUserById(Map<String, Object> map);
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(int id);
}
